set (zebra_SRCS
    config.c
    convert.c
    decoder.c
    error.c
    image.c
    img_scanner.c
    logo.c
    processor.c
    scanner.c
    symbol.c
    video.c
    window.c
    decoder/code128.c
    decoder/code39.c
    decoder/ean.c
    decoder/i25.c
    window/null.c
    #window/x.c
    #window/ximage.c
    #window/xv.c
    video/null.c
    )
    
add_library( zebra STATIC ${zebra_SRCS} )

include_directories( ${CMAKE_SOURCE_DIR}
                     ${CMAKE_SOURCE_DIR}/zebra
                     ${CMAKE_CURRENT_SOURCE_DIR}
                     ${CMAKE_BINARY_DIR}
                     ${CMAKE_BINARY_DIR}/zebra
                     ${CMAKE_CURRENT_BINARY_DIR}
                     ${QT4_INCLUDES}
                     )